package com.cherish.pattern.observer.guava;

import com.google.common.eventbus.Subscribe;

/**
 * @Classname GuavaEvent
 * @Date 2019/4/7 22:43
 * @Author admin
 * @Description TODO
 */
public class GuavaEvent {

    @Subscribe
    public void subscribe(String str){
        System.out.println("执行subscribe方法，传入的参数是：" + str);
    }

}
